/*************************************************************************
*																		 *
*				code by Miles Chen (v-mich) 2007.10.8					 *
*																		 *
*																		 *
*************************************************************************/

#pragma once


namespace System{namespace IO{namespace File{

	BOOL Exist(LPCWSTR lpszFullPath);

	BOOL Exist(LPCWSTR lpszFile, BOOL fRelativePath);

	HANDLE Create(LPCWSTR lpszFullPath);

	HANDLE Create(LPCWSTR lpszFile, BOOL fRelativePath);

	HANDLE Open(LPCWSTR lpszFullPath);

	HANDLE Open(LPCWSTR lpszFile, BOOL fRelativePath);

	BOOL Close(HANDLE hFile);

	BOOL VerifyUnicodeFormat(HANDLE hFile);

	BOOL WriteUnicodeFormat(HANDLE hFile);

	BOOL ReadLine(HANDLE hFile, LPWSTR lpszString);

	BOOL WriteLine(HANDLE hFile, LPCWSTR lpszString);

}}}